import http from '@/http'
import { AddressParm } from './AddressModel'
//获取地址
export const getListApi = (parm: AddressParm) => {
	return http.post('/api/address/getList', parm)
}
//新增
export const insertAddressApi = (parm: AddressParm) => {
	return http.post('/api/address/insertAddress', parm)
}
//编辑
export const editAddressApi = (parm: AddressParm) => {
	return http.post('/api/address/editAddress', parm)
}
// 删除
export const delAddressApi = (parm:any) => {
	return http.post('/api/address/delAddress', parm)
}
